<?php TPL::output('global/header_meta.tpl.htm'); ?>

<div class="aw-register-box aw-find-pwd">
	<div class="mod-head">
		<a href=""><img src="<?php echo G_STATIC_URL; ?>/css/<?php echo $this->template_name; ?>/img/login_logo.png" alt="" /></a>
		<h1><?php _e('邮箱验证'); ?></h1>
	</div>
	<div class="mod-body">
		<p>
			<?php _e('感谢您的注册! 激活链接已经发到您邮箱'); ?> <b><?php echo $this->email; ?></b> <a onclick="$('#modify_email_form').show(); $('#send_valid_mail').hide();" class="font-size-12"><?php _e('更换邮箱'); ?></a><br/>
			<form id="modify_email_form" action="account/ajax/modify_unvalid_email/" class="form-inline collapse" onsubmit="return false" method="post">
				<div class="form-group">
			    	<input type="text" class="form-control" name="email" />
			  	</div>
				<a class="btn btn-primary" onclick="AWS.ajax_post($('#modify_email_form'))"><?php _e('发送确认邮件'); ?></a>
			</form>
		</p>
		<p id="send_valid_mail"><a href="javascript:;" onClick="AWS.ajax_request(G_BASE_URL + '/account/ajax/send_valid_mail/');"><?php _e('再次发送确认邮件'); ?></a></p>
	</div>
	<div class="mod-footer">
		<p><b><?php _e('还没收到确认邮件') ?></b>? • <?php _e('尝试到广告邮件、垃圾邮件目录里找找看'); ?></p>
	</div>
</div>

<?php TPL::output('global/footer.tpl.htm'); ?>